package cn.jhz.learn.blog.service.core.open;

import cn.jhz.learn.blog.po.guestbook.BlogGuestbook;

import java.util.Optional;

public interface GuestbookService {
	public Optional<BlogGuestbook> publishComment(BlogGuestbook newComment);
	public Optional<Integer> removeComment(Integer commentId);
	public Optional<BlogGuestbook> modifyComment(BlogGuestbook comment);
	public BlogGuestbook checkExist(Integer commentId);
}
